﻿using System;
using TheGameClient.Processes;


namespace TheGameClient
{
	public class ProgramLogUndeleter : ProgramBase
	{
		public override ulong InterfaceId { get { return new Guid("358A7986-10B1-4DC6-8470-13FC56855635").ToLong(); } }
		public override string ProcessName { get { return "Log undeleter"; } }
		protected override bool OnlyLocal { get { return false; } }
		protected override string DropErrorStatus { get { return "Invalid log entry selected."; } }
		protected override string SuccessStatus { get { return "Log restored."; }}
		protected override string FailureStatus { get { return "Restore failed."; }}

		public override void Initialize()
		{
			Control.StatusText = "Drag onto file to be compressed.";
			base.Initialize();
		}
	}

	public class ProgramLogUndeleterFactory : UiFactoryBase
	{
		public override InterfaceCategory UiCategory
		{
			get { return InterfaceCategory.Program; }
		}

		public override IProcess CreateProgram()
		{
			return new ProgramLogUndeleter();
		}
	}
}